package com.onesports.intelligent.k12.polarlight.mapper.sys;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.onesports.intelligent.k12.polarlight.domain.entity.sys.BannerConfig;
import org.apache.ibatis.annotations.Param;

/**
 * 轮播图
 *
 * @author wangcx
 * @since 1.0.0 2022-07-08
 */
@Mapper
public interface BannerConfigMapper extends BaseMapper<BannerConfig> {

    /**
     * 分页查询轮播图列表
     * @param page 分页参数
     * @param orgId 组织id
     * @return BannerConfig 轮播图实体类
     */
    IPage<BannerConfig> findPage(@Param("page") Page<BannerConfig> page, @Param("orgId") String orgId);
}
